package com.zp.crm.service.PubService;

import java.util.List;
import java.util.Map;

import com.zp.crm.entity.Pub.PubEntity;
import com.zp.crm.taskls.Timetask.TakEntity;

public interface PubService {

	Map<String, Object> select(String code, String name, int page, int size);

	Map<String, Object> insert(PubEntity entity);

	Map<String, Object> edit(PubEntity entity);

	Map<String, Object> delete(int id);

	Map<String, Object> SelectCode(String code);

	Map<String, Object> SelectGy(String type, String from);

	Map<String, Object> SelectByTypeNameYz(String type, String name);

	Map<String, Object> SelectById(int id);

	int LsUpdate(List<TakEntity> ulist, String string);

	int LsInsert(List<TakEntity> ulist);

	List<TakEntity> LsSelect(String sql);

}
